home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / INTER29A.ARJ / MEMORY.LST < prev    next >
File List  |  1992-01-29  |  22KB  |  498 lines

  1. [This file was provided by Robin Walker.  --Ralf]
  2. Last Update: 1/29/92
  3.  
  4. Format of BIOS Data Segment at segment 40h:
  5.         {items in curly braces not documented by IBM}
  6. Offset    Size    Description
  7.  00h    WORD    Base I/O address of 1st serial I/O port, zero if none
  8.  02h    WORD    Base I/O address of 2nd serial I/O port, zero if none
  9.  04h    WORD    Base I/O address of 3rd serial I/O port, zero if none
  10.  06h    WORD    Base I/O address of 4th serial I/O port, zero if none
  11.             Note: Above fields filled in turn by POST as it finds serial
  12.             ports. POST never leaves gaps. DOS and BIOS serial device
  13.             numbers may be redefined by re-assigning these fields.
  14.  08h    WORD    Base I/O address of 1st parallel I/O port, zero if none
  15.  0Ah    WORD    Base I/O address of 2nd parallel I/O port, zero if none
  16.  0Ch    WORD    Base I/O address of 3rd parallel I/O port, zero if none
  17.  0Eh    WORD    [non-PS] Base I/O address of 4th parallel I/O port, zero if none
  18.         [PS] Segment of Extended BIOS Data Segment
  19.             Note: Above fields filled in turn by POST as it finds
  20.             parallel ports. POST never leaves gaps. DOS and BIOS
  21.             parallel device numbers may de redefined by re-assigning
  22.             these fields.
  23.  10h    WORD    Installed hardware:
  24.             bits 15-14: number of parallel devices
  25.             bit     13: [Conv] Internal modem
  26.             bit     12: reserved
  27.             bits 11- 9: number of serial devices
  28.             bit      8: reserved
  29.             bits  7- 6: number of diskette drives minus one
  30.             bits  5- 4: Initial video mode:
  31.                     00b = EGA,VGA,PGA
  32.                     01b = 40 x 25 color
  33.                     10b = 80 x 25 color
  34.                     11b = 80 x 25 mono
  35.             bit      3: reserved
  36.             bit      2: [PS] =1 if pointing device
  37.                 [non-PS] reserved
  38.             bit      1: =1 if math co-processor
  39.             bit      0: =1 if diskette available for boot
  40.  12h    BYTE    [Conv] POST status
  41.         [AT] {Manufacturing test initialisation flags}
  42.  13h    WORD    Base memory size in kbytes (0-640)
  43.  15h    BYTE    [AT] {Manufacturing test scratch pad}
  44.  16h    BYTE    [AT] {Manufacturing test scratch pad}
  45.         [PS/2 Mod 30] BIOS control flags
  46.  17h    BYTE    Keyboard status flags 1:
  47.             bit 7 =1 INSert active
  48.             bit 6 =1 Caps Lock active
  49.             bit 5 =1 Num Lock active
  50.             bit 4 =1 Scroll Lock active
  51.             bit 3 =1 either Alt pressed
  52.             bit 2 =1 either Ctrl pressed
  53.             bit 1 =1 Left Shift pressed
  54.             bit 0 =1 Right Shift pressed
  55.  18h    BYTE    Keyboard status flags 2:
  56.             bit 7 =1 INSert pressed
  57.             bit 6 =1 Caps Lock pressed
  58.             bit 5 =1 Num Lock pressed
  59.             bit 4 =1 Scroll Lock pressed
  60.             bit 3 =1 Pause state active
  61.             bit 2 =1 Sys Req pressed
  62.             bit 1 =1 Left Alt pressed
  63.             bit 0 =1 Left Ctrl pressed
  64.  19h    BYTE    Keyboard: Alt-nnn keypad workspace
  65.  1Ah    WORD    Keyboard: ptr to next character in keyboard buffer
  66.  1Ch    WORD    Keyboard: ptr to first free slot in keyboard buffer
  67.  1Eh 16 WORDs    Keyboard circular buffer (but see 80h, 82h for override)
  68.  3Eh    BYTE    Diskette recalibrate status:
  69.             bit 7 =1 Diskette hardware interrupt occurred
  70.             bits 6-4 reserved
  71.             bit 3 =1 Recalibrate diskette 3
  72.             bit 2 =1 Recalibrate diskette 2
  73.             bit 1 =1 Recalibrate diskette 1
  74.             bit 0 =1 Recalibrate diskette 0
  75.  3Fh    BYTE    Diskette motor status:
  76.             bit 7 =1 current operation is write or format
  77.               =0 current operation is read or verify
  78.             bit 6    reserved
  79.             bits 5-4 diskette drive number selected (0-3)
  80.             bit 3 =1 diskette 3 motor on
  81.             bit 2 =1 diskette 2 motor on
  82.             bit 1 =1 diskette 1 motor on
  83.             bit 0 =1 diskette 0 motor on
  84.  40h    BYTE    Diskette motor turn-off time-out count
  85.  41h    BYTE    Diskette last operation status (0 = OK)
  86.             bit 7 =1 drive not ready
  87.             bit 6 =1 seek error
  88.             bit 5 =1 general controller failure
  89.             bits 4-0:
  90.                 00h no error
  91.                 01h invalid request
  92.                 02h address mark not found
  93.                 03h write-protect error
  94.                 04h sector not found
  95.                 06h diskette change line active
  96.                 08h DMA overrun
  97.                 09h DMA across 64k boundary
  98.                 0Ch media type unknown
  99.                 10h CRC error on read
  100.  42h  7 BYTEs    Diskette/Fixed disk status/command bytes
  101.  49h    BYTE    Video current mode
  102.  4Ah    WORD    Video columns on screen
  103.  4Ch    WORD    Video page (regen buffer) size in bytes
  104.  4Eh    WORD    Video current page start address in regen buffer
  105.  50h 16 BYTEs    Video cursor position (col, row) for eight pages, 0 based
  106.  60h    WORD    Video cursor type, 6845 compatible, hi=startline, lo=endline
  107.  62h    BYTE    Video current page number
  108.  63h    WORD    Video CRT controller base address: color=03D4h, mono=03B4h
  109.  65h    BYTE    Video current setting of mode select register 03D8h/03B8h
  110.  66h    BYTE    Video current setting of CGA palette register 03D9h
  111.  67h    DWORD    POST real mode re-entry point after certain resets
  112.  6Bh    BYTE    POST last unexpected interrupt
  113.  6Ch    DWORD    Timer ticks since midnight
  114.  70h    BYTE    Timer overflow, non-zero if has counted past midnight
  115.  71h    BYTE    Ctrl-Break flag: bit 7=1
  116.  72h    WORD    POST reset flag:
  117.             = 1234h if to bypass memory test (warm boot)
  118.             = 4321h [PS/2 MCA only] if to preserve memory
  119.             = 5678h [Conv] system suspended
  120.             = 9ABCh [Conv] manufacturing test mode
  121.             = ABCDh [Conv] POST loop mode
  122.             =    64h Burn-in mode
  123.  74h    BYTE    Fixed disk last operation status: {except ESDI drives}
  124.             00h no error
  125.             01h invalid function request
  126.             02h address mark not found
  127.             03h write protect error
  128.             04h sector not found
  129.             05h reset failed
  130.             07h drive parameter activity failed
  131.             08h DMA overrun
  132.             09h DMA data boundary error
  133.             0Ah bad sector flag detected
  134.             0Bh bad track detected
  135.             0Dh invalid number of sectors for Format
  136.             0Eh control data address mark detected
  137.             0Fh DMA arbitration level out of range
  138.             10h uncorrectable ECC or CRC error
  139.             11h ECC corrected data error
  140.             20h general controller failed
  141.             40h seek failed
  142.             80h time out
  143.             AAh drive not ready
  144.             BBh undefined error
  145.             CCh write fault on selected drive
  146.             E0h status error/error register is zero
  147.             FFh sense failed
  148.  75h    BYTE    Fixed disk: number of fixed disk drives
  149.  76h    BYTE    Fixed disk: control byte    {IBM document only for XT}
  150.  77h    BYTE    Fixed disk: I/O port offset {IBM document only for XT}
  151.  78h  3 BYTEs    Parallel devices 1-3 time-out counters
  152.  7Bh    BYTE    parallel device 4 time-out counter [non-PS]
  153.         bit 5 set if Virtual DMA Spec supported [PS] (see INT 4B)
  154.  7Ch  4 BYTEs    Serial devices 1-4 time-out counters
  155.  80h    WORD    Keyboard buffer start as offset from segment 40h (normally 1Eh)
  156.  82h    WORD    Keyboard buffer end+1 as offset from segment 40h (normally 3Eh)
  157.         [XT BIOS dated 11/08/82 ends here]
  158.  84h    BYTE    Video EGA/MCGA/VGA rows on screen minus one
  159.  85h    WORD    Video EGA/MCGA/VGA character height in scan-lines
  160.  87h    BYTE    Video EGA/VGA control: [MCGA: =00h]
  161.             bit 7:  =1 if not to clear RAM (see INT 10h, AH=00h)
  162.             bits 6-5: RAM on adapter = (this field + 1) * 64K
  163.             bit 4:  reserved
  164.             bit 3:  =0 if EGA/VGA video system active, =1 if inactive
  165.             bit 2:  =1 if to wait for display enable (what means this?)
  166.             bit 1:  =0 for color or ECD monitor, =1 for mono monitor
  167.             bit 0:  =0 alphanumeric cursor emulation enabled, =1 not.
  168.                 When enabled, text mode cursor size (INT 10,AH=01h)
  169.                 settings looking like CGA ones are translated to
  170.                 equivalent EGA/VGA ones.
  171.  88h    BYTE    Video EGA/VGA switches: [MCGA: reserved]
  172.             bits 7-4: power-on state of feature connector bits 3-0
  173.             bits 3-0: configuration switches 4-1 (=0 on, =1 off)
  174.               Values as read:
  175.             0h Pri MDA,        Sec EGA+old color display 40 x 25
  176.             1h Pri MDA,        Sec EGA+old color display 80 x 25
  177.             2h Pri MDA,        Sec EGA+ECD normal mode (CGA emul)
  178.             3h Pri MDA,        Sec EGA+ECD enhanced mode
  179.             4h Pri CGA 40 x 25, Sec EGA mono display
  180.             5h Pri CGA 80 x 25, Sec EGA mono display
  181.             6h Pri EGA+old color display 40 x 25,  Sec MDA
  182.             7h Pri EGA+old color display 80 x 25,  Sec MDA
  183.             8h Pri EGA+ECD normal mode (CGA emul), Sec MDA
  184.             9h Pri EGA+ECD enhanced mode,           Sec MDA
  185.             Ah Pri EGA mono display,           Sec CGA 40 x 25
  186.             Bh Pri EGA mono display,           Sec CGA 80 x 25
  187.             When bit4 of 40h:89h is 0, VGA emulates 350-line EGA if
  188.             this byte is x3h or x9h, otherwise emulates 200-line CGA in
  189.             400-line double scan. VGA resets this byte to x9h after the
  190.             mode set.
  191.  89h    BYTE    Video MCGA/VGA mode-set option control:
  192.             bits 7 and 4:
  193.             0 0  350-line mode requested
  194.             0 1  400-line mode at next mode set
  195.             1 0  200-line mode requested
  196.             1 1  reserved
  197.             Apparently VGA BIOS mode set disregards bit 7 and uses
  198.             byte 40h:88h to determine 200/350 selection when bit 4
  199.             is zero. Presumably bit 7 is a convenience for other
  200.             purposes. Bit 7 is reset to zero after the mode set.
  201.             bit 6:  =1 if display switching enabled, =0 if disabled
  202.             bit 5:  reserved
  203.             bit 4:  [VGA]  =1 if to use 400-line mode at next mode set
  204.                    =0 if to emulate EGA at next mode set
  205.                       This bit set to 1 after the mode set.
  206.                 [MCGA] =1 use 400-line mode at next mode set
  207.                    =0 emulate CGA, digital monitor, 200 lines,
  208.                       8 x 8 text font at next mode set
  209.                       Bit unchanged by mode set.
  210.             bit 3:  =0 if default palette loading enabled at mode set
  211.             bit 2:  =1 if mono display, =0 if color display
  212.             bit 1:  =1 if gray scale summing enabled, =0 if disabled
  213.             bit 0:  [VGA] =1 if VGA active, =0 if not
  214.                 [MCGA] reserved, zero
  215.  8Ah    BYTE    Video [MCGA/VGA]: index into Display Combination Code table
  216.  8Bh    BYTE    Diskette media control [not XT]:
  217.             bits 7-6: Last data rate set by controller:
  218.                   00=500kbps, 01=300kbps, 10=250kbps, 11=reserved
  219.             bits 5-4: Last diskette drive step rate selected
  220.             bits 3-2: {Data rate at start of operation}
  221.             bits 1-0: reserved
  222.  8Ch    BYTE    Fixed disk controller status [not XT]
  223.  8Dh    BYTE    Fixed disk controller Error Status [not XT]
  224.  8Eh    BYTE    Fixed disk Interrupt Control [not XT]
  225.  8Fh    BYTE    Diskette controller information [not XT]:
  226.             bit 7:  reserved
  227.             bit 6:  =1 drive 1 determined
  228.             bit 5:  =1 drive 1 is multi-rate, valid if drive determined
  229.             bit 4:  =1 drive 1 supports 80 tracks, always valid
  230.             bit 3:  reserved
  231.             bit 2:  =1 drive 0 determined
  232.             bit 1:  =1 drive 0 is multi-rate, valid if drive determined
  233.             bit 0:  =1 drive 0 supports 80 tracks, always valid
  234.  90h    BYTE    Diskette drive 0 media state
  235.  91h    BYTE    Diskette drive 1 media state
  236.             bits 7-6: Data rate: 00=500kbps, 01=300kbps, 10=250kbps
  237.             bit    5: =1 if double stepping reqd (e.g. 360kB in 1.2MB)
  238.             bit    4: =1 if media established
  239.             bit    3: reserved
  240.             bits 2-0: on exit from BIOS, contain:
  241.                 000 trying 360kB in 360kB
  242.                 001 trying 360kB in 1.2MB
  243.                 010 trying 1.2MB in 1.2MB
  244.                 011 360kB in 360kB established
  245.                 100 360kB in 1.2MB established
  246.                 101 1.2MB in 1.2MB established
  247.                 110 reserved
  248.                 111 all other formats/drives
  249.  92h    BYTE    Diskette drive 0 media state at start of operation
  250.  93h    BYTE    Diskette drive 1 media state at start of operation
  251.  94h    BYTE    Diskette drive 0 current track number
  252.  95h    BYTE    Diskette drive 1 current track number
  253.  96h    BYTE    Keyboard status byte 3
  254.             bit 7 =1 read-ID in progress
  255.             bit 6 =1 last code read was first of two ID codes
  256.             bit 5 =1 force Num Lock if read-ID and enhanced keyboard
  257.             bit 4 =1 enhanced keyboard installed
  258.             bit 3 =1 Right Alt pressed
  259.             bit 2 =1 Right Ctrl pressed
  260.             bit 1 =1 last code read was E0h
  261.             bit 0 =1 last code read was E1h
  262.  97h    BYTE    Keyboard status byte 2
  263.             bit 7 =1 keyboard transmit error flag
  264.             bit 6 =1 LED update in progress
  265.             bit 5 =1 RESEND received from keyboard
  266.             bit 4 =1 ACK received from keyboard
  267.             bit 3 reserved, must be zero
  268.             bit 2 Caps Lock LED
  269.             bit 1 Num Lock LED
  270.             bit 0 Scroll Lock LED
  271.  98h    DWORD    Timer2: [AT, PS exc Mod 30] ptr to user wait-complete flag
  272.                         (see INT 15, AX=8300h)
  273.  9Ch    DWORD    Timer2: [AT, PS exc Mod 30] user wait count in microseconds
  274.  A0h    BYTE    Timer2: [AT, PS exc Mod 30] Wait active flag:
  275.             bit 7 =1 wait time elapsed
  276.             bits 6-1 reserved
  277.             bit 0 =1 INT 15h, AH=86h has occurred
  278.  A1h  7 BYTEs    reserved for network adapters (oh really?)
  279.  A4h    DWORD    [PS/2 Mod 30] Saved Fixed Disk Interrupt Vector
  280.  A8h    DWORD    Video: EGA/MCGA/VGA ptr to Video Save Pointer Table (see below)
  281.  ACh-AFh    reserved
  282.  B0h    DWORD    ptr to 3363 Optical disk driver or BIOS entry point.
  283.             When 3363 BIOS present, the signature "OPTIC ",00h occurs 3
  284.             bytes beyond this entry point.
  285.             When 3363 BIOS and 3363 File System Driver present, the
  286.             signature "FILE SYSTEM DRIVER",00h occurs 3 bytes beyond
  287.             this entry point.
  288.  B4h    WORD    reserved
  289.  B6h  3 BYTEs    reserved for POST?
  290.  B9h  7 BYTEs    ???
  291.  C0h 14 BYTEs    reserved
  292.  CEh    WORD    count of days since last boot?
  293.  D0h-EFh    reserved
  294.  F0h-FFh    reserved for user
  295. 100h    BYTE    Print Screen Status byte
  296. 10Eh    BYTE    state of BREAK at start of BASICA.COM execution
  297. 10Fh    BYTE    flag: 02h if BASICA v2.10 running
  298. 116h    DWORD    INT 1Bh at start of BASICA.COM execution
  299. 11Ah    DWORD    INT 24h at start of BASICA.COM execution
  300.  
  301. Format of Extended BIOS Data Area (see 40:0Eh for ptr) [PS only]
  302. Offset    Size    Description
  303.  00h    BYTE    Length of EBDA in kilobytes
  304.  01h 15 BYTEs    reserved
  305.  17h    BYTE    Number of entries in POST error log (0-5)
  306.  18h  5 WORDs    POST error log (each word is a POST error number)
  307.  19h-21h    reserved
  308.  22h    DWORD    Pointing Device Driver entry point
  309.  26h    BYTE    Pointing Device Flags 1
  310.            bit 7:    =1 command in progress
  311.            bit 6:    =1 resend
  312.            bit 5:    =1 acknowledge
  313.            bit 4:    =1 error
  314.            bit 3:    =0 reserved
  315.            bits 2-0: index count
  316.  27h    BYTE    Pointing Device Flags 2
  317.            bit 7:    =1 device driver far call flag
  318.            bits 6-3: reserved
  319.            bits 2-0: package size
  320.  28h  7 BYTEs    Pointing Device Auxiliary Device Data
  321.  2Fh    BYTE    reserved
  322.  30h    DWORD    Vector for INT 07h stored here during 80387 interrupt
  323.  34h    DWORD    Vector for INT 01h stored here during INT 07h emulation
  324.  38h    BYTE    Scratchpad for 80287/80387 interrupt code
  325.  39h    WORD    Timer3: Watchdog timer initial count
  326.  3Bh    BYTE    ??? seen non-zero on Model 30
  327.  3Ch    BYTE    ???
  328.  3Dh 16 BYTEs    Fixed Disk parameter table for drive 0 (oh really?)
  329.  4Dh 16 BYTEs    Fixed Disk parameter table for drive 1 (oh really?)
  330.             Neither of above seen on any Model 30, 50, 60 yet.
  331.  5Dh-6Bh    ???
  332.  6Ch    BYTE    Fixed disk: (=FFh on ESDI systems)
  333.             bits 7-4: Channel number 00-0Fh
  334.             bits 3-0: DMA arbitration level 00-0Eh
  335.  6Dh    BYTE    ???
  336.  6Eh    WORD    current typematic setting (see INT 16/AH=03h)
  337.  70h 167 BYTEs    ???
  338. 117h    WORD    keyboard ID (see INT 16/AH=0Ah)
  339. 119h and up:    ??? seen non-zero on Model 60
  340. 3F0h    BYTE    Fixed disk buffer (???!!!)
  341.  
  342. Format of Video Save Pointer Table [EGA/VGA/MCGA only]:
  343. Offset    Size    Description
  344.  00h    DWORD    ptr to Video Parameter Table
  345.  04h    DWORD    ptr to Parameter Dynamic Save Area, else 0 [EGA/VGA only]
  346.  08h    DWORD    ptr to Alphanumeric Character Set Override, else 0
  347.  0Ch    DWORD    ptr to Graphics Character Set Override, else 0
  348.  10h    DWORD    [VGA only] ptr to Secondary Save Pointer Table, must be valid
  349.  14h    DWORD    reserved, zero
  350.  18h    DWORD    reserved, zero
  351. Note: table initially in ROM, copy to RAM to alter, then update 40h:A8h.
  352.  
  353. Format of Secondary Video Save Pointer Table [VGA only]:
  354. Offset    Size    Description
  355.  00h    WORD    Length of this table in bytes, including this word (1Ah)
  356.  02h    DWORD    ptr to Display Combination Code Table, must be valid
  357.  06h    DWORD    ptr to second Alphanumeric Character Set Override, else 0
  358.  0Ah    DWORD    ptr to User Palette Profile Table, else 0
  359.  0Eh    DWORD    reserved, zero
  360.  12h    DWORD    reserved, zero
  361.  16h    DWORD    reserved, zero
  362. Note: table initially in ROM, copy to RAM to alter, then alter Save Ptr Table.
  363.  
  364. Format of Video Parameter Table [EGA, VGA only]:
  365. An array of 23 [EGA] or 29 [VGA] elements, each element being 64 bytes long.
  366. Elements appear in the order:
  367.  00h-03h    Modes 00h-03h in 200-line CGA emulation mode
  368.  04h-0Eh    Modes 04h-0Eh
  369.  0Fh-10h    Modes 0Fh-10h when only 64kB RAM on adapter
  370.  11h-12h    Modes 0Fh-10h when >64kB RAM on adapter
  371.  13h-16h    Modes 00h-03h in 350-line mode
  372.  17h        VGA Modes 00h or 01h in 400-line mode
  373.  18h        VGA Modes 02h or 03h in 400-line mode
  374.  19h        VGA Mode  07h in 400-line mode
  375.  1Ah-1Ch    VGA Modes 11h-13h
  376.  
  377. Format of Video Parameter Table element [EGA, VGA only]:
  378. Offset    Size    Description
  379.  00h    BYTE    Columns on screen          (see 40h:4Ah)
  380.  01h    BYTE    Rows on screen minus one      (see 40h:84h)
  381.  02h    BYTE    Height of character in scan lines (see 40h:85h)
  382.  03h    WORD    Size of video buffer          (see 40h:4Ch)
  383.  05h  4 BYTEs    Values for Sequencer Registers 1-4
  384.  09h    BYTE    Value for Miscellaneous Output Register
  385.  0Ah 25 BYTEs    Values for CRTC Registers 00h-18h
  386.  23h 20 BYTEs    Values for Attribute Controller Registers 00h-13h
  387.  37h  9 BYTEs    Values for Graphics Controller Registers 00h-08h
  388.  
  389. Format of Video Parameter Table [MCGA only] {guesswork from inspection}:
  390.     - 16 triplet BYTEs of R,G,B DAC info for 16 colors;
  391.     - An array of 11 elements, each element being 32 bytes long.
  392.       Elements appear in the order:
  393.         Modes 00h,01h in 200-line mode for digital displays
  394.         Modes 00h,01h in 400-line mode for analog displays
  395.         Modes 02h,03h in 200-line mode for digital displays
  396.         Modes 02h,03h in 400-line mode for analog displays
  397.         Modes 04h,05h in 200-line mode for digital displays
  398.         Modes 04h,05h in 400-line mode for analog displays
  399.         Mode  06h in 200-line mode for digital displays
  400.         Mode  06h in 400-line mode for analog displays
  401.         Mode  11h
  402.         Mode  13h in 200-line mode for digital displays
  403.         Mode  13h in 400-line mode for analog displays
  404.  
  405. Format of Video Parameter Table element [MCGA only]:
  406. Offset    Size    Description
  407.  00h    BYTE    Columns on screen          (see 40h:4Ah)
  408.  01h    BYTE    Rows on screen minus one      (see 40h:84h)
  409.  02h    BYTE    Height of character in scan lines (see 40h:85h)
  410.  03h    WORD    Size of video buffer          (see 40h:4Ch)
  411.  05h    WORD    ??? always zero
  412.  07h 21 BYTEs    Video data registers 00h-14h to port 3D5h indexed by 3D4h
  413.  1Ch    BYTE    PEL Mask to port 3C6h
  414.  1Dh    BYTE    CGA Mode Control to port 3D8h
  415.  1Eh    BYTE    CGA Border Control to port 3D9h
  416.  1Fh    BYTE    Extended Mode Control to port 3DDh
  417.  
  418. Format of Video Parameter Dynamic Save Area [EGA, VGA only]:
  419. Offset    Size    Description
  420.  00h 16 BYTEs    Last data written to Attribute Controller Palette Registers 0-15
  421.  10h    BYTE    Last data written to Attribute Controller Overscan Register
  422.  11h-FFh    Reserved
  423.         Note: Need for table was that EGA registers were write-only.
  424.         Note: If default values (from the Video Parameter Table) are
  425.               over-ridden at a mode set by the VGA User Palette Profile
  426.               Table, then the Dynamic Save Area is updated with the
  427.               default values, not the User Profile ones.
  428.  
  429. Format of Alphanumeric Character Set Override:
  430. Offset    Size    Description
  431.  00h    BYTE    Length in bytes of each character in font table
  432.  01h    BYTE    Character generator RAM bank to load, 0=normal
  433.  02h    WORD    Number of characters in font table, normally 256
  434.  04h    WORD    Code of first character in font table, normally 0
  435.  06h    DWORD    ptr to font table
  436.  0Ah    BYTE    Displayable rows (FFh=use maximum calculated value)
  437.  0Bh    BYTEs    Array of mode values to which this font is to pertain
  438.     BYTE    FFh end of array
  439.  
  440. Format of Second Alphanumeric Character Set Override:
  441. Authorities differ, some say same as first override above, but IBM say:
  442. Offset    Size    Description
  443.  00h    BYTE    Length in bytes of each character in font table
  444.  01h    BYTE    Character generator RAM bank to load, normally non-zero
  445.  02h    BYTE    reserved
  446.  03h    DWORD    ptr to font table
  447.  07h    BYTEs    Array of mode values to which this font is to pertain
  448.     BYTE    FFh end of array
  449.  
  450. Format of Graphics Character Set Override:
  451. Offset    Size    Description
  452.  00h    BYTE    Number of displayable character rows
  453.  01h    WORD    Length in bytes of each character in font table
  454.  03h    DWORD    ptr to font table
  455.  07h    BYTEs    Array of mode values to which this font is to pertain
  456.     BYTE    FFh end of array
  457.  
  458. Format of Display Combination Code Table [VGA only]:
  459. Offset    Size    Description
  460.  00h    BYTE    Number of entries in the DCC table at offset 04h
  461.  01h    BYTE    Version number
  462.  02h    BYTE    Maximum display type code that can appear in DCC table
  463.  03h    BYTE    reserved
  464.  04h    ARRAY OF 2 BYTEs Each pair of bytes gives a valid display combination
  465.             Meaning of each byte:
  466.             00h    no display
  467.             01h    MDA with mono display
  468.             02h    CGA with color display
  469.             03h    reserved
  470.             04h    EGA with color display
  471.             05h    EGA with mono display
  472.             06h    Professional Graphics Controller
  473.             07h    VGA with mono display
  474.             08h    VGA with color display
  475.             09h    reserved
  476.             0Ah    MCGA with digital color display
  477.             0Bh    MCGA with analog mono display
  478.             0Ch    MCGA with analog color display
  479.             FFh    unrecognised video system
  480.  
  481. Format of User Palette Profile Table [VGA only]:
  482. Offset    Size    Description
  483.  00h    BYTE    Underlining: 01h=enable in all alphanumeric modes
  484.                  00h=enable in monochrome alphanumeric modes only
  485.                  FFh=disable in all alphanumeric modes
  486.  01h    BYTE    reserved
  487.  02h    WORD    reserved
  488.  04h    WORD    Number (0-17) of Attribute Controller registers in table
  489.  06h    WORD    Index (0-16) of first Attribute Controller register in table
  490.  08h    DWORD    ptr to table of Attribute Controller registers to override
  491.             Table is an array of BYTEs.
  492.  0Ch    WORD    Number (0-256) of video DAC Color registers in table
  493.  0Eh    WORD    Index (0-255) of first video DAC Color register in table
  494.  10h    DWORD    ptr to table of video DAC Color registers to override
  495.             Table is ??? triplets ??? of BYTEs???
  496.  14h    BYTEs    array of mode values to which this profile is to pertain
  497.     BYTE    FFh end of array
  498.